﻿﻿using System;
using ff;
public class Program
{
    public static void Main(string[] args)
    {
        Log.OnInfo = Console.WriteLine;
        Log.OnWarn = Console.WriteLine;
        Log.OnError = Console.WriteLine;
        Log.LogMode = Log.Mode.Console;

        new LogGroup("net", "873600").Info("Hello, World!");
        new LogGroup("bat", "40ff60").Warn("Hello, {0} {1}!");
        new LogGroup("ui", "2399b3").Error("Hello, World!");

        // 打印Net版本
        Console.WriteLine("Net Version: {0}", System.Environment.Version);

        Console.Read();
    }
}